package com.cheyun.netsalev3.bean.basedata

import androidx.databinding.BaseObservable
import androidx.databinding.Bindable
import com.cheyun.netsalev3.BR
import java.io.Serializable

data class NormalList(

    val id: Int,
    val ikey: String,
    val title: String,
    val rttype:Int,
    val tc:Int,
    val disabled:Int,
    var is_drive:Int
): BaseObservable(), Serializable{
//    @get:Bindable
//    var is_drive: Int = 0
//        set(value) {
//            field = value
//            notifyPropertyChanged(BR.isDrive)
//        }

    @get:Bindable
    var status: Int = 0
        set(status) {
            field = status
            notifyPropertyChanged(BR.status)
        }

    @get:Bindable
    var statusName:String = ""
        set(value) {
            field = value
            notifyPropertyChanged(BR.statusName)
        }

    var title1:String = ""
    var title2:String = ""
}